﻿using System;
using System.Collections.Generic;

namespace E.Model
{
    [Serializable]
    public class StudyLogForListModel
    {
        public int ID { get; set; }
        public string LoginID { get; set; }
        public string UserName { get; set; }
        public string TeacherName { get; set; }
        public string ClassCode { get; set; }
        public int CourseID { get; set; }
        public string CourseName { get; set; }
        public string CertificateName { get; set; }
        public string CourseCategoryName { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public decimal SchoolHour { get; set; }
        public bool IsFull { get; set; }
        public int Progress { get; set; }

    }

    [Serializable]
    public class StudyLogModel
    {
        public int ID { get; set; }
        public int UserID { get; set; }
        public int ClassID { get; set; }
        public int CourseID { get; set; }
        public string CourseName { get; set; }
        public int CertificateID { get; set; }
        public string CertificateName { get; set; }
        public string Chapters { get; set; }
        public int Progress { get; set; }
    }

    [Serializable]
    public class SearchStudyLogModel 
    {
        public int UserID { get; set; }
        public string UserName { get; set; }
        public int AreaID { get; set; }
        public string ClassCode { get; set; }
        public int CertificateID { get; set; }
        public int CourseCategoryID { get; set; }
        public int CourseID { get; set; }
        public string CourseName { get; set; }
        public string StartFromTime { get; set; }
        public string StartToTime { get; set; }
        public string EndFromTime { get; set; }
        public string EndToTime { get; set; }
        public int TeacherID { get; set; }

        public string LoginID { get; set; }
        public string Email { get; set; }
        public string EntryFromDate { get; set; }
        public string EntryToDate { get; set; }
    }

    [Serializable]
    public class StudyLogListModel
    {
        public int TotalCount { get; set; }
        public IList<StudyLogForListModel> List { get; set; }
    }

    #region 统计学生学习情况，登陆情况
    [Serializable]
    public class ReportStudyInfoStaticsModel
    {
        public int TotalCount { get; set; }
        public IList<ReportStudyInfoModel> List { get; set; }
    }

    [Serializable]
    public class ReportStudyInfoModel
    {
        public int ID { get; set; }
        public string LoginID { get; set; }
        public string CourseName { get; set; }
        public string UserName { get; set; }
        public int Process { get; set; }
        public int TotalLoginCount { get; set; }
        public string LastLoginTime { get; set; }

    }

    [Serializable]
    public class SearchReportStudyInfoModel
    {
        public int CourseID { get; set; }
        public string FromDate { get; set; }
        public string ToDate { get; set; }
    }

    #endregion

    #region 内训

    [Serializable]
    public class InternalStudyModel
    {
        public int ID { get; set; }
        public int CourseID { get; set; }
        public string CourseName { get; set; }
        public int ProjectID { get; set; }
        public string ProjectName { get; set; }
        public int Process { get; set; }
    }

    #endregion
}
